@charset "utf-8";
@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');

/* 페이징/글쓰기/관리자 버튼 공통 색상 (기존 스킨 색상 유지: 여기 값만 바꾸면 한 번에 변경) */
:root {
    --gs-btn-bg: #ccc;      /* 기본 버튼 배경 */
    --gs-btn-color: #fff;   /* 기본 버튼 글자/아이콘 */
    --gs-btn-dark: var(--wc-point, #2b2b2b); /* 현재 페이지 / 관리자 버튼 배경: 사이트 포인트 색상과 연동 (없으면 #2b2b2b) */
}

.gallery-board {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}
.gallery-grid {
    display: flex;
    flex-direction: column;
}

.pic-header {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: space-between;
}

.list-option {
    display: flex;
    flex: 1;
    gap: 5px;
	margin-bottom: 3px;
	opacity: 20%;
}

.list-option:hover {
	opacity: 100%;
}

.list-option.btn {
	justify-content: flex-end;
	font-size: 10px;
    font-family: nanumsquare;
}

.gall_chk {
    z-index: 10;
}

.ico-category {
    background: #212529;
	color: #fff;
    border-radius: 10px;
    padding: 0px 5px;
    font-size: 10px;
    font-family: nanumsquare;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid #ededed;
  border-radius: 30px;
  background: #eeeeee17;
  backdrop-filter: blur(2px);
  filter: drop-shadow(1px 1px 1.5px rgba(0, 0, 0, 0.25));
}

.gallery-item img {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:hover img {
transform: scale(1.2);
transition: 0.3s ease;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
  backdrop-filter: blur(3px);
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    box-shadow: none;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-close {
    position: relative;
    top: 0;
    left: 0px;
    font-size: 45px;
    cursor: pointer;
    color: #ffffff;
    text-shadow: 0px 0px 3px black;
}

.modal-description {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 15px;
    border-radius: 20px;
}

.modal-title {
    font-family: nanumsquare;
    font-size: 18px;
    font-weight: bold;
    color: #eee;
	text-shadow: 1px 3px 3px black;
}

.modal-meta {
    font-family: nanumsquare;
    font-size: 12px;
    font-weight: normal;
    color: #bbb;
}

.modal-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.modal-nav-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  padding: 0 10px;
  color: #eee;
  text-shadow: 3px 3px 3px black;
}

.modal-img {
  max-width: 100%;
  max-height: 700px;
  display: block;
}

.simple-ui-btn {
    display: flex;
    gap: 5px;
}

.simple-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    box-sizing: border-box;
    background: var(--gs-btn-bg);
    color: var(--gs-btn-color);
    font-family: nanumsquare;
    font-size: 8pt;
    font-weight: bold;
    line-height: 1;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: none !important;
    text-shadow: none !important;
}
.simple-btn:hover,
.simple-btn i,
.simple-btn a {
    box-shadow: none !important;
    text-shadow: none !important;
}
.simple-btn i,
.simple-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    font-size: inherit;
    text-decoration: none;
}

.simple-btn.admin {
    padding: 0;
    background: var(--gs-btn-dark) !important;
}
.simple-btn.admin a {
    min-width: 22px;
    height: 22px;
}

button.select-trash-btn {
    width: 30px;
    height: 30px;
    border: 1px inset #eee;
    background: #333;
    color: #eee;
    border-radius: 10px;
    font-size: 14px;
}

.simple-chk-option {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}

.simple-category {
    display: flex;
	gap: 5px;
    margin-bottom: 20px;
    justify-content: center;
}

.simple-category li {
    background: #ededed;
    color: #333;
    font-size: 10px;
    font-family: 'NanumSquare';
    border-radius: 10px;
    padding: 2px 5px;
/*    border: 1px inset #dfdfdf; */
}

.simple-category li:hover {
        background: var(--wc-point, #C84F50);
        color: #fff;
}
.simple-guide {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.ui-search-box select, .ui-search-box input[type="text"] {
    background: #fff;
	color: #BCC4DB;
	border-radius: 15px;
    width: 30%;
}

::-webkit-scrollbar {
  display: none;
}

/* 페이징 */
.ui-paging nav.pg_wrap {
    display: flex !important;
    justify-content: center !important;
}

.ui-paging nav.pg_wrap span.pg {
    display: flex !important;
    gap: 4px !important;
    list-style: none !important;
}

.ui-paging nav.pg_wrap span.pg a.pg_page,
.ui-paging nav.pg_wrap span.pg strong.pg_page {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 6px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 4px !important;
    background: var(--gs-btn-bg) !important;
    color: var(--gs-btn-color) !important;
    font-size: 8pt !important;
    font-family: nanumsquare !important;
    font-weight: bold !important;
    text-decoration: none !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    white-space: nowrap !important;
}

.ui-paging nav.pg_wrap span.pg strong.pg_current {
    background: var(--gs-btn-dark) !important;
}

.ui-paging nav.pg_wrap span.pg a.pg_control {
    background: var(--gs-btn-dark) !important;
    padding: 0 6px !important;
}

/* 마우스 오버: 라공 스킨과 동일한 방식 (색상을 유지한 채 brightness(.85)로 어둡게) */
.simple-btn,
.ui-paging nav.pg_wrap span.pg a.pg_page {
    transition: filter .15s ease;
}
.simple-btn:hover,
.ui-paging nav.pg_wrap span.pg a.pg_page:hover {
    filter: brightness(.85);
}

/* 처음/맨끝 아이콘 */
.ui-paging nav.pg_wrap .pg-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.ui-paging nav.pg_wrap i,
.simple-btn i {
    font-size: inherit;
    line-height: 1;
}
/* 폰트어썸 Free (solid) 아이콘 폰트를 명시적으로 지정 */
.ui-paging nav.pg_wrap i.fa-solid,
.simple-btn i.fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block;
}

/* 모바일 */
@media (max-width: 768px) {
	.gallery-board {
		gap: 10px !important;
	}
	.pic-header {
		display: none !important;
	}
	.gallery-item {
		width: 150px !important;
		height: 150px !important;
	}
}
